import { useEffect } from 'react'
import { Outlet } from 'react-router-dom'
import NavBar from '../../pages/Home/NavBar'

export default () => {
  useEffect(() => {
    // TODO, 在这里写鉴权
  }, [])

  return (
    <>
      <NavBar />
      <Outlet />
    </>
  )
}
